package ucd.csi.comp30220.fall2011.oteop.collision;

import java.util.Collection;
import java.util.Date;
import ucd.csi.comp30220.fall2011.oteop.navigation.Position;

/**
 * Collision information
 * 
 * 	@author David Harrison
 *  @author David Haddock
 *
 */
public interface Collision {
	
	/**
	 * The JmDNS service subtype for collision
	 */
    public static final String JMDNS_SUB_TYPE = "collision";
    
    /**
     * The position at which the collision will occur
     * @return Position object
     */
    public Position position();
    
    /**
     * The altitude at which the collision will occur
     * @return altitude value
     */
    public int altitude();
    
    /**
     * The date and time the collision is expected
     * @return Date object containing the date the collision was expected
     */
    public Date expectedAt();
    
    /**
     * The date and time the collision was detected
     * @return Date object containing the date the collision was detected
     */
    public Date detectedAt();
    
    /**
     * The flights involved in the collision
     */
    public Collection<?> flights();
    
}
